/*
 * @Descripttion: 路由管理
 * @version: 
 * @Author: jwZhang
 * @Date: 2020-04-30 08:59:29
 * @LastEditors: jwZhang
 * @LastEditTime: 2020-04-30 14:03:25
 */
// 简单方式

// 使用: Navigator.pushNamed(context, LoginViewRoute);
// Route<dynamic> generateRoute(RouteSettings settings) {
//   switch (settings.name) {
//     case HomeViewRoute:
//       return MaterialPageRoute(builder: (context) => HomeView());
//     case LoginViewRoute:
//       var loginArgument = settings.arguments;
//       return MaterialPageRoute(
//           builder: (context) => LoginView(argument: loginArgument));
//     default:
//       return MaterialPageRoute(
//           builder: (context) => UndefinedView(name: settings.name));
//   }
// }
